import gensim.downloader as api

# 下载预训练的 Word2Vec 模型
model = api.load("word2vec-google-news-300")

# 将模型保存到文件中
model_path = "word2vec_google_news.bin"
model.save_word2vec_format(model_path, binary=True)
